package com.ohos.connent.accountcloud.biz.modular.dp.result;

import com.ohos.connent.accountcloud.sys.pojo.SysRolePojo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class DpUserResult {

    /** id */
    @ApiModelProperty(value = "id", position = 1)
    private String id;

    /** 头像 */
    @ApiModelProperty(value = "头像", position = 3)
    private String avatar;

    /** 账号 */
    @ApiModelProperty(value = "账号", position = 5)
    private String account;

    /** 姓名 */
    @ApiModelProperty(value = "姓名", position = 7)
    private String name;

    /** 昵称 */
    @ApiModelProperty(value = "昵称", position = 8)
    private String nickname;

    /** 手机 */
    @ApiModelProperty(value = "手机", position = 24)
    private String phone;

    /** 邮箱 */
    @ApiModelProperty(value = "邮箱", position = 25)
    private String email;


    /** 用户状态 */
    @ApiModelProperty(value = "用户状态", position = 45)
    private String userStatus;


    /** 扩展信息 */
    @ApiModelProperty(value = "扩展信息", position = 47)
    private String extJson;

    @ApiModelProperty(value = "组织id", position = 48)
    private String orgId;

    /** 角色码集合
     *
     *  "roleList": [   // 角色列表
     *  *                        "superAdmin":"超级管理员",
     *  *                        .......
     *  *                  ]*/
    @ApiModelProperty(value = "角色集合", position = 53, hidden = true)
    private List<SysRolePojo> roleList;
}
